package day02;

public class IntDemo {
    public static void main(String[] args) {
//        int a = 314.5;
//        int b = 10000000000;
        int c = 2147483647;//int max值
        c = c + 1;
        int d = -2147483648;//int min值
        d = d-1;

        System.out.println(6/3);//2
        System.out.println(5.0/2);//2.5
        System.out.println(2/7);//0
        System.out.println(15/2.0);//7.5

        System.out.println(c);//-2147483648
        System.out.println(d);//2147483647
    }
}
